package work.cqhx.springapi.returnjson;

import java.util.Map;

public class ReturnJson {
//    private Map data;
    private Boolean  status;
    private String message;
    private Integer count;
//

    public ReturnJson() {
    }

    public ReturnJson(Boolean status) {
        this.status = status;
    }

    public ReturnJson(Boolean status, String message) {
        this.status = status;
        this.message = message;
    }

    public ReturnJson(Boolean status, String message, Integer count) {
        this.status = status;
        this.message = message;
        this.count = count;
    }

    /**
     * 获取
     * @return status
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String toString() {
        return "ReturnJson{status = " + status + "}";
    }

    /**
     * 获取
     * @return message
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置
     * @param message
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * 获取
     * @return count
     */
    public Integer getCount() {
        return count;
    }

    /**
     * 设置
     * @param count
     */
    public void setCount(Integer count) {
        this.count = count;
    }
}
